<?php get_header(); ?>

<div class="layout layoutfg layout1 mt10">
	<div class="main">
    	<div class="hottitle">
        	<strong class="fl">当前位置：</strong>
            <h2 class="fl" style="font-size:12px;">
            	<a title="返回首页" href="/">艺新奇</a>&gt;
            	<?php if (have_posts()) : ?> 

			<?php $post = $posts[0]; ?>

			<?php if (is_category()) { ?><?php echo get_category_parents( get_query_var('cat') , true ,''); ?>

			<?php } elseif( is_tag() ) { ?><?php single_tag_title(); ?>
			
			<?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
			
			Blog Archives

			<?php }?>
			
            </h2>
        </div>
    	<div class="hotlist">
    	
        	<div class="tabBody">
        	<?php while ( have_posts() ) : the_post(); ?>
            	<div class="item cf">
                	<a href="<?php echo the_permalink(); ?>" title="<?php the_title(); ?>" class="pic"><?php echo getFirstImage(get_the_ID(),180,120)?></a>
                    <div class="title"><h3><a title="<?php the_title(); ?>" href="<?php echo the_permalink(); ?>"><?php the_title(); ?></a></h3></div>
                    <p><?php echo mb_strimwidth(strip_tags(get_the_excerpt()), 0, 110,"……"); ?></p>
                    <div class="info cf">
                    	<div class="fl"><?php echo to_friend_time(get_the_time("Y-m-d H:i:s"))?>
                        	<span>
                        	<?php the_tags("标签：<em>","","</em>") ?>
                            </span>
                        </div>
                        <div class="plBtn">
                            <a href="#" class="pl">3</a>
                        </div>
                    </div>                    
                </div>
            <?php endwhile;?>
            <?php endif;?>
           </div>
        </div>
        
        <?php getPage($query_string); ?>
        	
        
    </div>
    <?php get_sidebar();?>
</div>
<div class="rdtj">
	<div class="rdtj-inner">
    	<div class="ent">
        	<div class="hd">
            <h2><a href="#">热点推荐</a></h2>
            </div>
            <div class="bd">
            	<div class="item-list">
                	<ul>
                    	<li>
                        	<a href="#"><img src="images/225X120.png" /></a>
                            <p><a href="#">带绷带iPhone4手机保护套</a></p>
                        </li>
                        <li>
                        	<a href="#"><img src="images/225X120.png" /></a>
                            <p><a href="#">带绷带iPhone4手机保护套</a></p>
                        </li>
                        <li>
                        	<a href="#"><img src="images/225X120.png" /></a>
                            <p><a href="#">带绷带iPhone4手机保护套</a></p>
                        </li>
                        <li>
                        	<a href="#"><img src="images/225X120.png" /></a>
                            <p><a href="#">带绷带iPhone4手机保护套</a></p>
                        </li>
                        <li>
                        	<a href="#"><img src="images/225X120.png" /></a>
                            <p><a href="#">带绷带iPhone4手机保护套</a></p>
                        </li>
                        <li>
                        	<a href="#"><img src="images/225X120.png" /></a>
                            <p><a href="#">带绷带iPhone4手机保护套</a></p>
                        </li>
                        <li>
                        	<a href="#"><img src="images/225X120.png" /></a>
                            <p><a href="#">带绷带iPhone4手机保护套</a></p>
                        </li>
                        <li>
                        	<a href="#"><img src="images/225X120.png" /></a>
                            <p><a href="#">带绷带iPhone4手机保护套</a></p>
                        </li>
                    </ul>
                </div>
            </div>
        </div> 
        <div class="firstad1">
        <img src="images/960x90.jpg" />
        </div>       
    </div>
    <div class="footer layout">
        <div class="footer-inner">
            <div class="about"><a href="#">关于艺新奇</a>|<a href="#">订阅方式</a>|<a href="#">内容收录</a>|<a href="#">编辑入伙</a>|<a href="#">新浪微博</a>|<a href="#">腾讯微博</a>
            </div>
            
            <p>Copyright ©2013 yinxinqi. All Rights Reserved 艺新奇 版权所有  粤ICP证0921654号</p>
        </div>    
	</div>
</div>
